package com.wgchao.authmanager.query.specification;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @ClassName: RoleCriteria
 * @author: wgchao
 * @createTime: 2020/5/7 4:38 PM
 * @Description: TODO
 */
@Data
@NoArgsConstructor
@ToString
@ApiModel(value = "roleCriteria", description = "角色批量查询过滤条件(继承分页)")
public class RoleCriteria extends PageParam implements Serializable {

    @ApiModelProperty(value = "角色名称", required = true, allowEmptyValue = true,
            name = "roleName;")
    private String roleName;

    @ApiModelProperty(value = "账户状态是否可用", required = true, allowEmptyValue = true,
            name = "disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "机构编号(系统管理员专有)", required = true, allowEmptyValue = true,
            name = "agencyCode")
    private String agencyCode;

}
